package com.yuanfeng.activity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 分享获取红包规则表
 * @TableName activity_share_get_redpacket_rule
 */
@TableName(value ="activity_share_get_redpacket_rule")
@Data
public class ActivityShareGetRedpacketRuleEntity implements Serializable {
    /**
     * 规则id
     */
    @TableId(type = IdType.AUTO)
    private Integer ruleId;

    /**
     * 规则名称
     */
    private String ruleTitle;

    /**
     * 规则开始时间
     */
    private Date ruleStartDate;

    /**
     * 规则结束时间
     */
    private Date ruleEndDate;

    /**
     * 规则状态(1-正常,2-过期)
     */
    private Byte ruleState;

    /**
     * 更新时间
     */
    private Date ruleUpdateDate;

    /**
     * 更新人名称
     */
    private String ruleUpdateBy;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}